package com.ruoyi.system.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;

/**
 * <p>
 * 货品信息
 * </p>
 *
 * @author qubaofeng
 * @since 2025-02-09
 */
@Getter
@Setter
@TableName("huo_pin")
public class HuoPin extends BaseEntity {

    /**
     * ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 仓库id
     */
    private Long cangKuId;

    @TableField(exist = false)
    private String cangKuName;

    /**
     * 品类id
     */
    private Long pinLeiId;

    @TableField(exist = false)
    private String pinLeiName;

    private Long gongYingShangId;

    @TableField(exist = false)
    private String gongYingShangName;

    /**
     * 货品名称
     */
    private String name;

    /**
     * 货品价格
     */
    private BigDecimal price;

    /**
     * 货品规格
     */
    private String guiGe;

    /**
     * 货品单位
     */
    private String danWei;

    /**
     * 货品品牌
     */
    private String pinPai;

    /**
     * 库存量
     */
    private BigDecimal kuCun;

    /**
     * 删除标志（0代表存在 2代表删除）
     */
    private String delFlag;

}
